/**
import default from './../../../react-starkit/src/routes';
 * Created by Administrator on 2018/11/17.
 */
const mongoose = require('../lib/mongo');
const Schema = mongoose.Schema;

const CookieSchema = new Schema({
  username: {
    type: String
  }, //用户账号
  expires: {
    type: Date,
    default: Date.now() + 3600
  }, //过期时间
});

module.exports = mongoose.model('Cookie', CookieSchema);
